<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * redis 配置
 *  默认第一个配置作为主库
 */
$active_group = 'default';

$config['redis'] = [
    [
        'user'     => '',
        'pass'     => '',
        'host'     => '127.0.0.1',
        'port'     => '6379',
        'database' => 2,
    ]
];